<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>eeprom.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../vesc.jpg"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">eeprom.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../d0/ded/eeprom_8h_source.html">eeprom.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga83834957567411c76bb7f659cf8a1a38"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga83834957567411c76bb7f659cf8a1a38">EE_Init</a> (void)</td></tr>
<tr class="memdesc:ga83834957567411c76bb7f659cf8a1a38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restore the pages to a known good state in case of page's status corruption after a power loss.  <a href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga83834957567411c76bb7f659cf8a1a38">More...</a><br /></td></tr>
<tr class="separator:ga83834957567411c76bb7f659cf8a1a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0776e2e16f54d3a675e4f2f401703a85"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga0776e2e16f54d3a675e4f2f401703a85">EE_ReadVariable</a> (uint16_t VirtAddress, uint16_t *Data)</td></tr>
<tr class="memdesc:ga0776e2e16f54d3a675e4f2f401703a85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the last stored variable data, if found, which correspond to the passed virtual address.  <a href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga0776e2e16f54d3a675e4f2f401703a85">More...</a><br /></td></tr>
<tr class="separator:ga0776e2e16f54d3a675e4f2f401703a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga516e9ced7438b9452c72884aa1df5915"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga516e9ced7438b9452c72884aa1df5915">EE_WriteVariable</a> (uint16_t VirtAddress, uint16_t Data)</td></tr>
<tr class="memdesc:ga516e9ced7438b9452c72884aa1df5915"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes/upadtes variable data in EEPROM.  <a href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga516e9ced7438b9452c72884aa1df5915">More...</a><br /></td></tr>
<tr class="separator:ga516e9ced7438b9452c72884aa1df5915"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga3d172691f05ea6e584b3d19f5900333c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga3d172691f05ea6e584b3d19f5900333c">DataVar</a> = 0</td></tr>
<tr class="separator:ga3d172691f05ea6e584b3d19f5900333c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1fb74b26daf6fdfa3dc85e4232ef4769"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d29/group___e_e_p_r_o_m___emulation.html#ga1fb74b26daf6fdfa3dc85e4232ef4769">VirtAddVarTab</a> [<a class="el" href="../../d0/ded/eeprom_8h.html#a8bae73a7ce70b5cae64c6e0d485daa2f">NB_OF_VAR</a>]</td></tr>
<tr class="separator:ga1fb74b26daf6fdfa3dc85e4232ef4769"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://github.com/joshdellay" target="_new">Josh Dellay</a>